package com.ruoyi.system.service;

import java.util.Date;
import java.util.List;
import com.ruoyi.system.domain.GwHomeSummarize;

/**
 * 首页汇总Service接口
 * 
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IGwHomeSummarizeService 
{
    /**
     * 查询首页汇总
     * 
     * @param homeId 首页汇总主键
     * @return 首页汇总
     */
    public GwHomeSummarize selectGwHomeSummarizeByHomeId(Long homeId);



    /**
     * 查询首页汇总列表
     * 
     * @param gwHomeSummarize 首页汇总
     * @return 首页汇总集合
     */
    public List<GwHomeSummarize> selectGwHomeSummarizeList(GwHomeSummarize gwHomeSummarize);

    /**
     * 新增首页汇总
     * 
     * @param gwHomeSummarize 首页汇总
     * @return 结果
     */
    public int insertGwHomeSummarize(GwHomeSummarize gwHomeSummarize);

    /**
     * 修改首页汇总
     * 
     * @param gwHomeSummarize 首页汇总
     * @return 结果
     */
    public int updateGwHomeSummarize(GwHomeSummarize gwHomeSummarize);

    /**
     * 批量删除首页汇总
     * 
     * @param homeIds 需要删除的首页汇总主键集合
     * @return 结果
     */
    public int deleteGwHomeSummarizeByHomeIds(Long[] homeIds);

    /**
     * 删除首页汇总信息
     * 
     * @param homeId 首页汇总主键
     * @return 结果
     */
    public int deleteGwHomeSummarizeByHomeId(Long homeId);

    /**
     * 获取首页汇总
     * @return
     */
    GwHomeSummarize selectGwHomeSummarizeAll(String nodeIdentifier);

    /**
     * 通过节点标识表示查询首页数据
     *
     * @param NodeIdentifier 节点标识
     * @return 首页汇总
     */
    public GwHomeSummarize selectGwHomeSummarizeByNodeIdentifier(String NodeIdentifier);

    void deleteGwHomeSummarizeByDeptId(Long deptId);

//    GwHomeSummarize selectGwHomeSummarizefindMonth(String nodeIdentifier, Date startTime, Date endTime);

    List<GwHomeSummarize> findAll1ByNodeIdentifierList(String nodeIdentifier, String startDate, String endDate);

    GwHomeSummarize selectGwHomeSummarizefindMonth(String nodeIdentifier, String month);
}
